package com.bdqn.service.imp;

import com.bdqn.bean.course.Minutia;
import com.bdqn.dao.IMinutiaDao;
import com.bdqn.service.IMinutiaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 忍
 * @title: MinutiaServiceImpl
 * @projectName Teaching
 * @description: TODO
 * @date 2019/7/114:21
 */
@Service
public class MinutiaServiceImpl implements IMinutiaService {
    @Qualifier("IMinutiaDao")
    @Autowired
    IMinutiaDao minutiaDao;
    @Override
    public List<Minutia> getMinutiaByCourseId(Integer sectionId) {
        return minutiaDao.getMinutiaByCourseId(sectionId);
    }
}
